package cn.duwey.scs.common.base;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.NoRepositoryBean;

@NoRepositoryBean
public interface BaseRepository<T extends BaseEntity, Long> extends JpaRepository<T, Long> {

    void update(T entity);

    void updateSelective(T entity);

}
